#include <multiboot.h>
#include <vga.h>

void kmain(multiboot_info_t *mbi, unsigned int magic) {
   vga_init();
   vga_puts("Booting LSecOS...\n");

   // Am I entering kmain from a MULTIBOOT compliant bootloader?
   if (magic != MULTIBOOT_BOOTLOADER_MAGIC) {
      vga_puts("Invalid magic number!\n");
      return;
   }

   mbi++;
    
   vga_setcolors(0,9);
   vga_puts("Hello world!\n");
   vga_setcolors(0,15);
}
